package cn.tac.test.servlet.cheapter2;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author : tac
 * @since : 09/09/2017
 */
public class StaticResourceProcessor implements Processor {

    public static final int BUFFER_SIZE = 1024;

    @Override
    public void process(HttpServletRequest request, HttpServletResponse response) {
        System.out.println("output static resource");
        ((Response)response).sendStaticResource();
    }
}
